
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>Content box</h3>
					
					<ul class="content-box-tabs">
						<li><a class="default-tab">Trang Quản Lý</a></li> <!-- href must be unique and match the id of target div -->
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->
						
						
						
						<table>
							
							<thead>
								<tr>
								   <th><input class="check-all" type="checkbox" /></th>
								   <th>Tên Gian Hàng</th>
								   <th>Tên Người Gửi</th>
								   <th>Số Diện Thoại</th>
								   <th>Email</th>
								   <th>Mô Tả</th>
								   <th>Địa Chỉ</th>
								   <th>Ngày Tạo</th>
								   <th>Thông Tin</th>
								   <?php if ($this->role==1):?><th>Trạng Thái</th><?php endif;?>
								</tr>
								
							</thead>
						 
							<tfoot>
								<tr>
									<td colspan="6">
										<div class="bulk-actions align-left">
											<select name="dropdown">
												<option value="option1">Choose an action...</option>
												<option value="option2">Edit</option>
												<option value="option3">Delete</option>
											</select>
											<a class="button" href="#">Apply to selected</a>
										</div>
										
										<div class="pagination">
											<a href="#" title="First Page">&laquo; First</a><a href="#" title="Previous Page">&laquo; Previous</a>
											<a href="#" class="number" title="1">1</a>
											<a href="#" class="number" title="2">2</a>
											<a href="#" class="number current" title="3">3</a>
											<a href="#" class="number" title="4">4</a>
											<a href="#" title="Next Page">Next &raquo;</a><a href="#" title="Last Page">Last &raquo;</a>
										</div> <!-- End .pagination -->
										<div class="clear"></div>
									</td>
								</tr>
							</tfoot>
						 
							<tbody>
							<?php $Scut = new Private_View_Helper_StringCutter()?>
							<?php foreach ($this->allContact as $contact):?>
								<tr>
									<td><input type="checkbox" /></td>
									<td><a href="<?php echo ADMIN."/contact/edit/id/".$contact["ID"]?>" title="sửa <?php echo $contact["OBJECT_NAME"]?>"><?php echo $contact["OBJECT_NAME"]?></a></td>
									<td><?php echo $contact["NAME"]?></td>
									<td><?php echo $contact["PHONE"]?></td>
									<td><?php echo $contact["EMAIL"]?></td>
									<td><?php echo $contact["DESCRIPTION"]?></td>
									<td><?php echo $contact["ADDRESS"]?></td>
									<td><?php echo date("d/m/Y",strtotime($contact["CREATEDATE"]))?></td>
									<td><?php echo $contact["DETAIL"]?></td>
									<?php if ($this->role==1):?><td>
										<!-- Icons -->
										 <a href="<?php echo ADMIN."/contact/edit/id/".$contact["ID"]?>" title="Edit"><img src="<?php echo TempAdmin?>resources/images/icons/pencil.png" alt="Edit" /></a>
										 <a href="<?php echo ADMIN."/contact/del/id/".$contact["ID"]?>" title="Delete"><img src="<?php echo TempAdmin?>resources/images/icons/cross.png" alt="Delete" /></a>
										 <?php if($contact["STATUS"]==1):?> 
										 <a href="<?php echo ADMIN."/contact/active/id/".$contact["ID"]?>" title="Thay trạng Thái"><img src="<?php echo TempAdmin?>resources/images/icons/tick_circle.png" alt="Thay trạng thái" /></a>
										 <?php else:?>
										 <a href="<?php echo ADMIN."/contact/active/id/".$contact["ID"]?>" title="Thay trạng Thái"><img src="<?php echo TempAdmin?>resources/images/icons/cross_circle.png" alt="Thay trạng thái" /></a>
										 <?php endif;?>
									</td><?php endif;?>
								</tr>
							<?php endforeach;?>
							</tbody>
							
						</table>
						
					</div> <!-- End #tab1 -->
					
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->

			<div class="clear"></div>